{% extends "base.html" %} {% block title %}Doctor Financials - Quick Care Connect{% endblock %} {% block content %}

{{ doctor.user.name }} – Financials

Back to Doctors
Balance
PKR {{ "%.2f"|format(doctor.balance) }}
Total Earned
PKR {{ "%.2f"|format(doctor.total_earned) }}
Total Withdrawn
PKR {{ "%.2f"|format(doctor.total_withdrawn) }}
Total Penalties
PKR {{ "%.2f"|format(doctor.total_penalties) }}
Transactions
{% if transactions %} {% for t in transactions %} {% endfor %}
DateTypeDescriptionAmount
{{ t.created_at.strftime('%d %b %Y %H:%M') if t.created_at else '-' }} {{ t.transaction_type }} {{ t.description[:60] }}{% if t.description|length > 60 %}...{% endif %} {{ "%+.2f"|format(t.amount) }} PKR
{% else %}
No transactions.
{% endif %}
Payout Requests
{% if payout_requests %} {% for p in payout_requests %} {% endfor %}
AmountStatusRequestedProcessed
PKR {{ "%.2f"|format(p.amount) }} {{ p.status }} {{ p.requested_at.strftime('%d %b %Y %H:%M') if p.requested_at else '-' }} {{ p.processed_at.strftime('%d %b %Y') if p.processed_at else '-' }}
{% else %}
No payout requests.
{% endif %}
{% endblock %}